{"ast":null,"code":"var _jsxFileName = \"/Users/iliyagladkov/Documents/projects/to-do-list/src/components/UI/forms/ToDoForm.jsx\";\nimport React from 'react';\nimport MyInput from '../input/MyInput';\nimport MyButtonAdd from '../MyButton/MyButtonAdd/MyButtonAdd';\nimport cl from './ToDoForm.module.css';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport default function ToDoForm(_ref) {\n  let {\n    create\n  } = _ref;\n  return /*#__PURE__*/_jsxDEV(\"form\", {\n    className: cl.myForm,\n    children: [/*#__PURE__*/_jsxDEV(\"h1\", {\n      className: cl.headerAdd,\n      children: \"New to-do\"\n    }, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 12,\n      columnNumber: 13\n    }, this), /*#__PURE__*/_jsxDEV(MyInput, {\n      value: toDoItem.title,\n      onChange: e => setToDoItems({\n        ...toDoItem,\n        title: e.target.value\n      }),\n      typeInput: \"text\",\n      placeHolderText: \"This is title...\"\n    }, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 13,\n      columnNumber: 13\n    }, this), /*#__PURE__*/_jsxDEV(MyInput, {\n      value: toDoItem.body,\n      onChange: e => setToDoItems({\n        ...toDoItem,\n        title: e.target.value\n      }),\n      typeInput: \"text\",\n      placeHolderText: \"This is description...\"\n    }, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 19,\n      columnNumber: 13\n    }, this), /*#__PURE__*/_jsxDEV(MyButtonAdd, {}, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 25,\n      columnNumber: 13\n    }, this)]\n  }, void 0, true, {\n    fileName: _jsxFileName,\n    lineNumber: 11,\n    columnNumber: 9\n  }, this);\n}\n_c = ToDoForm;\nvar _c;\n$RefreshReg$(_c, \"ToDoForm\");","map":{"version":3,"names":["React","MyInput","MyButtonAdd","cl","ToDoForm","create","myForm","headerAdd","toDoItem","title","e","setToDoItems","target","value","body"],"sources":["/Users/iliyagladkov/Documents/projects/to-do-list/src/components/UI/forms/ToDoForm.jsx"],"sourcesContent":["import React from 'react'\nimport MyInput from '../input/MyInput'\nimport MyButtonAdd from '../MyButton/MyButtonAdd/MyButtonAdd'\nimport cl from './ToDoForm.module.css'\n\nexport default function ToDoForm({create}) {\n\n\n\n    return (\n        <form className={cl.myForm}>\n            <h1 className={cl.headerAdd}>New to-do</h1>\n            <MyInput\n                value={toDoItem.title}\n                onChange={e => setToDoItems({...toDoItem, title: e.target.value})}\n                typeInput='text'\n                placeHolderText='This is title...'\n            />\n            <MyInput\n                value={toDoItem.body}\n                onChange={e => setToDoItems({...toDoItem, title: e.target.value})}\n                typeInput='text'\n                placeHolderText='This is description...'\n            />\n            <MyButtonAdd></MyButtonAdd>\n        </form>\n    )\n}\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,OAAO,MAAM,kBAAkB;AACtC,OAAOC,WAAW,MAAM,qCAAqC;AAC7D,OAAOC,EAAE,MAAM,uBAAuB;AAAA;AAEtC,eAAe,SAASC,QAAQ,OAAW;EAAA,IAAV;IAACC;EAAM,CAAC;EAIrC,oBACI;IAAM,SAAS,EAAEF,EAAE,CAACG,MAAO;IAAA,wBACvB;MAAI,SAAS,EAAEH,EAAE,CAACI,SAAU;MAAA,UAAC;IAAS;MAAA;MAAA;MAAA;IAAA,QAAK,eAC3C,QAAC,OAAO;MACJ,KAAK,EAAEC,QAAQ,CAACC,KAAM;MACtB,QAAQ,EAAEC,CAAC,IAAIC,YAAY,CAAC;QAAC,GAAGH,QAAQ;QAAEC,KAAK,EAAEC,CAAC,CAACE,MAAM,CAACC;MAAK,CAAC,CAAE;MAClE,SAAS,EAAC,MAAM;MAChB,eAAe,EAAC;IAAkB;MAAA;MAAA;MAAA;IAAA,QACpC,eACF,QAAC,OAAO;MACJ,KAAK,EAAEL,QAAQ,CAACM,IAAK;MACrB,QAAQ,EAAEJ,CAAC,IAAIC,YAAY,CAAC;QAAC,GAAGH,QAAQ;QAAEC,KAAK,EAAEC,CAAC,CAACE,MAAM,CAACC;MAAK,CAAC,CAAE;MAClE,SAAS,EAAC,MAAM;MAChB,eAAe,EAAC;IAAwB;MAAA;MAAA;MAAA;IAAA,QAC1C,eACF,QAAC,WAAW;MAAA;MAAA;MAAA;IAAA,QAAe;EAAA;IAAA;IAAA;IAAA;EAAA,QACxB;AAEf;AAAC,KAtBuBT,QAAQ;AAAA;AAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]}